#include "hi_type.h"
HI_S16 s16AcmLUTDeflt[3][5][7][29]  = 
{
    {
        {
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0, },
            {  13,   10,   -2,    1,   -1,   -1,    0,    0,    0,    0,    0,    0,    0,    1,    0,    0,    0,    0,    0,    0,    0,    0,    2,    4,    0,    3,    2,    0,   11, },
            {  28,    1,    3,    3,    0,    0,    0,    1,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    7, },
            {   7,    3,    6,    0,    0,    0,    2,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    1, },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0, },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0, },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0, },
        },
        {
            {   1,    1,    0,    0,    1,    1,    1,    1,    1,    1,    1,    1,    3,    3,    4,    3,    4,    4,    4,    5,    5,    3,    4,    6,    5,    5,    1,    1,    1, },
            {   3,  -20,  -15,  -19,  -10,   -6,    1,    4,    6,    5,    6,    9,    9,   10,   10,   11,   11,   13,   14,   16,   16,    9,   25,   40,   19,   36,   19,    7,   -7, },
            { -23,   -3,   17,    9,  -16,  -16,  -14,   -7,  -11,  -12,   -4,    0,    1,    2,    2,    2,    2,    3,    0,    0,    0,    3,    7,    8,    9,    9,   25,    9,  -54, },
            {  -7,   33,   50,   -2,   -4,   -2,   20,    2,  -37,   -6,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    5,  -29, },
            {   0,    1,    2,    0,    0,    0,    1,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0, },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0, },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0, },
        },
        {
            {   7,    6,    6,    6,    6,    6,    7,    6,    7,    7,    8,    7,    7,    7,    7,    7,    7,    8,    8,    9,    9,    7,    8,    9,    9,    8,    6,    6,    6, },
            {  25,   17,    7,    4,    8,   12,   18,   30,   33,   34,   35,   34,   31,   28,   30,   32,   35,   38,   44,   50,   50,   34,   36,   50,   50,   46,   30,   27,   25, },
            {  -6,  -19,  -54,  -70,  -56,  -49,  -40,  -31,  -25,  -21,  -17,  -11,   -1,   12,   17,   22,   32,   39,   28,   36,   37,   30,   59,   72,   83,   77,   53,    8,   -8, },
            {   0,    0,  -18,  -18,   -5,   -5,   -3,   -6,  -37,   -6,  -14,  -11,   -4,    0,    0,    1,    2,    5,    7,    7,    6,    1,   41,   55,   10,   55,   18,    2,    0, },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0, },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0, },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0, },
        },
        {
            {  13,   13,   12,    3,    3,    3,    3,    3,    3,    3,    4,   13,   13,   13,   13,   14,   14,   15,   15,   15,   15,   14,   15,   15,   15,   13,    3,   13,    4, },
            {  25,   22,   27,    6,    5,    5,    9,   14,   16,   18,   41,   41,   42,   46,   44,   48,   54,   57,   60,   62,   64,   59,   59,   61,   69,   58,   43,   26,   18, },
            {   0,    0,   -3,   -6,   -6,   -5,   -3,   -2,   -2,   -1,    0,    1,   -3,    1,   10,   16,   37,   47,   58,   65,   73,   28,   17,   61,   69,   41,    6,    0,    0, },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,   -1,    0,    3,   26,   45,   73,   66,   -7,   21,   55,   20,   55,    0,    0,    0, },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    1,    1,    2,    2,    0,    0,    0,    0,    0,    0,    0,    0, },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0, },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0, },
        },
        {
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0, },
            {   0,    0,    2,    0,    0,    0,    0,    0,    0,    0,    3,    3,    3,    4,    3,    4,    4,    4,   11,    9,    9,    5,    5,    5,    6,    5,    4,    0,    0, },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    3,    3,    4,    4,    5,    2,    0,    5,    5,    0,    0,    0,    0, },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    2,    4,    7,    6,   -1,    0,    0,    0,    0,    0,    0,    0, },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0, },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0, },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0, },
        },
    },
    {
        {
            {   0,    1,    1,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    1,    3,    3,   -1,   -4,   -1,   -1,   -1,   -2,   -2,   -3,   -3,   -3,    0,    0,    0,    0,    0,    0,    0,    0,    1,   -2,    0,    1,    3,    2,    0,     },
            {   0,    1,    1,    1,    0,    0,   -1,   -1,   -2,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    1,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
        },
        {
            {   0,    6,    4,    1,    0,    0,    0,   -1,   -1,   -1,   -3,   -4,   -4,   -3,   -1,   -3,   -3,   -3,   -1,    0,    0,    7,    8,    0,   -1,   -3,   -1,    1,    0,     },
            {   0,   16,   11,    3,   -6,   -8,   -8,  -12,  -15,  -16,  -20,  -25,  -30,  -32,  -10,  -10,   -9,   -7,   -6,   -1,    3,   23,   23,  -18,   -5,    9,   22,   22,    0,     },
            {   0,    6,    8,    6,   -6,   -2,  -11,  -18,  -27,  -12,  -15,  -18,   -4,   -5,   -5,   -5,   -3,   -2,    0,    0,    0,    5,    2,   -1,   -2,    0,   20,   29,    0,     },
            {   0,    6,    1,   -5,   -1,   -2,   -3,   -5,  -14,   -3,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,   15,    0,     },
            {   0,    0,    0,    0,    0,    0,   -3,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
        },
        {
            {   0,    5,    6,    4,    1,    1,    0,   -1,    0,   -1,   -1,   -1,   -3,   -3,   -1,   -3,   -1,   -3,   -1,    0,    0,    5,    4,   -1,   -3,   -5,   -3,   -1,    0,     },
            {   0,   21,   16,    2,   -6,   -9,   -8,   -7,   -5,   -8,   -8,  -12,  -16,  -20,  -19,  -20,  -17,  -13,   -7,    7,    5,   38,   32,    8,   -6,  -12,   -4,   -1,    0,     },
            {   0,    4,    6,  -11,  -18,  -18,  -15,  -13,  -14,  -14,  -18,  -22,  -19,  -21,  -26,  -28,  -27,  -23,   -5,    0,    4,   57,   16,   -5,  -13,    1,   18,   12,    0,     },
            {   0,    1,    0,    0,   -1,   -1,   -1,   -2,  -14,   -3,   -5,   -7,  -10,   -1,   -1,   -2,   -2,   -2,   -1,    0,    1,    4,    3,   -1,   -1,   -1,    0,    2,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
        },
        {
            {   0,    5,    7,    1,    1,    1,    0,    0,    0,    0,    0,    0,    1,    0,    0,    0,    0,    0,    0,    0,    0,    1,    1,   -3,   -4,   -6,   -2,   -1,    0,     },
            {   0,   14,   10,   -2,   -4,   -5,   -4,   -1,    0,    0,   10,    9,    6,   -6,   -1,   -4,   -6,   -6,    2,    3,    3,   18,   19,    6,   -6,  -11,  -14,   -6,    0,     },
            {   0,    0,    0,   -2,   -3,   -2,   -1,   -1,   -1,    0,    0,   -1,   -2,   -2,   -2,   -6,   -7,   -7,   -3,    3,    5,   22,   23,    9,   -3,   -1,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,   -1,   -1,   -1,   -1,   -1,    1,    5,   -1,    5,    0,   -1,   -1,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
        },
        {
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    1,    2,    1,    0,    1,    0,   -1,    0,    3,    0,   -6,    1,    1,    1,   -1,   -1,   -1,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,   -1,    1,    2,    1,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    1,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
        },
    },
    {
        {
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
       },
        {
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {  56,   66,   80,   89,   80,   78,   74,   67,   64,   55,   52,   48,   40,   33,   22,   20,   20,   17,   15,   17,   17,   33,   54,   35,   31,   11,   20,   41,   62,     },
            {  92,  123,  102,  112,  115,  114,  113,  107,   98,   49,   44,   34,    8,    7,    5,    3,    1,    0,    0,    0,    0,    6,   10,   11,    5,    1,    2,   34,  126,     },
            {  20,   48,   96,  110,   52,   53,   38,   24,   22,    9,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,   15,   38,     },
            {   0,    1,    2,    2,    1,    1,   -1,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
       },
        {
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {  44,   73,   89,   93,   80,   77,   73,   66,   67,   67,   67,   67,   67,   63,   59,   56,   50,   49,   47,   50,   52,   95,  118,  101,   95,   73,   62,   47,   44,     },
            {  31,  101,  163,  143,   85,   76,   73,   71,   81,   78,   82,   72,   67,   62,   52,   41,   31,   24,   24,   29,   30,   96,  129,  117,   75,   31,   11,   22,   33,     },
            {   0,   13,   77,   81,    8,    8,    7,    7,   22,   10,   11,    8,   10,    2,    0,    0,    0,    0,    0,    0,    0,   21,   62,   89,    7,   -8,  -11,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
       },
        {
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   6,   19,   31,   30,   21,   20,   20,   18,   18,   20,   24,   24,   37,   45,   41,   46,   50,   51,   51,   55,   57,   84,   95,   86,   92,   80,   54,   12,    6,     },
            {   0,    0,   15,   13,    5,    4,    5,    4,    5,    5,    7,    8,   25,   26,   33,   33,   65,   66,   71,   88,   87,  117,  137,  168,  113,   45,    9,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    2,   -9,   -2,   15,   13,  165,   72,  103,   16,   -8,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    5,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
       },
        {
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    1,    0,    2,    3,    2,    3,    4,    4,    9,   11,   11,    6,    7,    6,    6,    6,    4,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    5,    6,    6,   29,    9,    8,    9,   14,    9,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,   -1,    0,    0,    0,   16,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
            {   0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,     },
       },
    }
};
